/*根布局*/
.com-root {
  width: 100vw;
  height: 100vh;
  min-height: 56.25vw;
}

.com-dialog-root {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: $color-dark-80;
}

.com-scroll {
  overflow: scroll;
}

.com-max-1580 {
  width: 100vw;
  max-width: 790px;
  margin: 0 auto;
}

.com-max-800 {
  max-width: 400px;
  margin: 0 auto;
}

/*横向布局*/
.com-row {
  display: flex;
}

/*纵向布局*/
.com-column {
  display: flex;
  flex-direction: column;
}

/*填充*/
.com-expanded {
  flex: 1;
  min-width: 0;
  min-height: 0;
}

/*主轴居中*/
.com-main-center {
  justify-content: center;
}

/*副轴居中*/
.com-cross-center {
  align-items: center;
}

/*居中*/
.com-main-cross-center {
  justify-content: center;
  align-items: center;
}

.com-press {
  opacity: 1;
}

.com-press:active {
  opacity: 0.618;
}

.com-press-icon:active {
  background-color: $color-dark-20;
  border-radius: 50%;
}

.com-press-item:active {
  background-color: $color-dark-20;
  border-radius: $radius10;
}

.com-margin-5 {
  margin: $space5;
}

.com-margin-left-5 {
  margin-left: $space5;
}

.com-margin-top-5 {
  margin-top: $space5;
}

.com-margin-hor-5 {
  margin-left: $space5;
  margin-right: $space5;
}

.com-margin-10 {
  margin: $space10;
}

.com-margin-top-10 {
  margin-top: $space10;
}

.com-margin-hor-10 {
  margin-left: $space10;
  margin-right: $space10;
}

.com-margin-hor-15 {
  margin-left: $space15;
  margin-right: $space15;
}

.com-margin-top-15 {
  margin-top: $space15;
}

.com-margin-top-20 {
  margin-top: $space20;
}

.com-margin-hor-20 {
  margin-left: $space20;
  margin-right: $space20;
}

.com-margin-top-30 {
  margin-top: $space30;
}

.com-margin-hor-30 {
  margin-left: $space30;
  margin-right: $space30;
}


.com-margin-left-10 {
  margin-left: $space10;
}

.com-margin-left-15 {
  margin-left: $space15;
}

.com-margin-left-20 {
  margin-left: $space20;
}

.com-padding-10 {
  padding: 10px;
}

.com-padding-hor-10 {
  padding-left: 10px;
  padding-right: 10px;
}

.com-padding-ver-10 {
  padding-top: 10px;
  padding-bottom: 10px;
}

.com-padding-20 {
  padding: 20px;
}

.com-padding-15 {
  padding: 15px;
}

.com-padding-hor-20 {
  padding-left: 20px;
  padding-right: 20px;
}

.com-padding-hor-15 {
  padding-left: 15px;
  padding-right: 15px;
}

.com-padding-ver-15 {
  padding-top: 15px;
  padding-bottom: 15px;
}

.com-default-font {
  font-size: 16px;
  color: #222222;
}

.com-action {
  font-size: $fontDefault;
  text-align: center;
  width: 88vw;
  margin-left: 6vw;
  line-height: $view45;
  color: $color-font-white;
  border-radius: $radius5;
  background: $color-primary;
}

.com-action:active {
  opacity: 0.618;
}